Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor actuators around a scoped struct #381

Merged

Conversation

vincepri
Copy link
Member

@vincepri vincepri commented Nov 15, 2018

Signed-off-by: Vince Prignano [email protected]

What this PR does / why we need it:
This PR is the first phase for the larger refactoring discussed in #305. Introduces the concept of actuator Scope (and MachineScope) and modifies the actuators to make use of it. It's very early stages and it's aimed mostly at moving coding to another place. The end goal is to have scoped services which evolve around these contexts and separate the service responsibilities.

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 15, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vincepri

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 15, 2018
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 15, 2018
@vincepri vincepri force-pushed the actuator-refactor-phase1 branch 2 times, most recently from 96a4fec to 871dfb6 Compare November 16, 2018 00:01
Copy link
Contributor

@chuckha chuckha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some initial thoughts

pkg/cloud/aws/actuators/machine/actuator.go Outdated Show resolved Hide resolved
pkg/cloud/aws/actuators/machine/actuator.go Outdated Show resolved Hide resolved
pkg/cloud/aws/actuators/machine/actuator.go Outdated Show resolved Hide resolved
pkg/cloud/aws/actuators/scope.go Show resolved Hide resolved
pkg/cloud/aws/actuators/scope.go Outdated Show resolved Hide resolved
@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 17, 2018
@vincepri vincepri force-pushed the actuator-refactor-phase1 branch 2 times, most recently from c770b99 to 0e2f852 Compare November 17, 2018 17:10
@vincepri vincepri changed the title WIP: Refactor actuators around a scoped struct (phase 1) Refactor actuators around a scoped struct (phase 1) Nov 17, 2018
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 17, 2018
@vincepri vincepri changed the title Refactor actuators around a scoped struct (phase 1) Refactor actuators around a scoped struct Nov 18, 2018
@vincepri vincepri force-pushed the actuator-refactor-phase1 branch from fc0bb81 to 83c24fd Compare November 19, 2018 17:31
@vincepri vincepri force-pushed the actuator-refactor-phase1 branch from 83c24fd to e5a8962 Compare November 19, 2018 17:32
@vincepri
Copy link
Member Author

/retest

@vincepri
Copy link
Member Author

@chuckha ptal

@randomvariable
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 20, 2018
@k8s-ci-robot k8s-ci-robot merged commit 64df039 into kubernetes-sigs:master Nov 20, 2018
@vincepri vincepri deleted the actuator-refactor-phase1 branch July 26, 2019 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants